package com.kmist.xiakexing.utils.scene;

import com.kmist.xiakexing.utils.GObject;

public class PlayerBean extends GObject {
    private String uname;
    private String uid;
    private String sid;
    private int ulv;
    private int uyxb;
    private int uczb;
    private int uexp;
    private int umaxexp;
    private int uhp;
    private int umaxhp;
    private int ugj;
    private int ufy;
    private int ubj;
    private int uxx;
    private int uwx;
    private String usex;
    private int vip;
    private int nowmid;
    private String endtime;
    private int tool1;
    private int tool2;
    private int tool3;
    private int tool4;
    private int tool5;
    private int tool6;
    private String jingjie;
    private int sfxl;
    private int sfzx;
    private int yp1;
    private int yp2;
    private int yp3;
    private int cw;
    private int jn1;
    private int jn2;
    private int jn3;
    private int ispvp;
    private int cengci;

    public PlayerBean() {
    }

    @Override
    public boolean isCharacter() {
        return true;
    }

    @Override
    public boolean isPlayer() {
        return true;
    }

    @Override
    public boolean isObject() {
        return false;
    }


    public PlayerBean(String uname, String uid, String sid, int ulv, int uyxb, int uczb, int uexp, int umaxexp, int uhp, int umaxhp, int ugj, int ufy, int ubj, int uxx, int uwx, String  usex,
                      int vip, int nowmid, String endtime, int tool1, int tool2, int tool3, int tool4, int tool5, int tool6,
                      String jingjie, int sfxl, int sfzx, int yp1, int yp2, int yp3, int cw, int jn1, int jn2, int jn3, int ispvp, int cengci) {
        this.uname = uname;
        this.uid = uid;
        this.sid = sid;
        this.ulv = ulv;
        this.uyxb = uyxb;
        this.uczb = uczb;
        this.uexp = uexp;
        this.umaxexp = umaxexp;
        this.uhp = uhp;
        this.umaxhp = umaxhp;
        this.ugj = ugj;
        this.ufy = ufy;
        this.ubj = ubj;
        this.uxx = uxx;
        this.uwx = uwx;
        this.usex = usex;
        this.vip = vip;
        this.nowmid = nowmid;
        this.endtime = endtime;
        this.tool1 = tool1;
        this.tool2 = tool2;
        this.tool3 = tool3;
        this.tool4 = tool4;
        this.tool5 = tool5;
        this.tool6 = tool6;
        this.jingjie = jingjie;
        this.sfxl = sfxl;
        this.sfzx = sfzx;
        this.yp1 = yp1;
        this.yp2 = yp2;
        this.yp3 = yp3;
        this.cw = cw;
        this.jn1 = jn1;
        this.jn2 = jn2;
        this.jn3 = jn3;
        this.ispvp = ispvp;
        this.cengci = cengci;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getSid() { return sid; }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public int getUlv() {
        return ulv;
    }

    public void setUlv(int ulv) {
        this.ulv = ulv;
    }

    public int getUyxb() {
        return uyxb;
    }

    public void setUyxb(int uyxb) {
        this.uyxb = uyxb;
    }

    public int getUczb() {
        return uczb;
    }

    public void setUczb(int uczb) {
        this.uczb = uczb;
    }

    public int getUexp() {
        return uexp;
    }

    public void setUexp(int uexp) {
        this.uexp = uexp;
    }

    public int getUmaxexp() {
        return umaxexp;
    }

    public void setUmaxexp(int umaxexp) {
        this.umaxexp = umaxexp;
    }

    public int getUhp() {
        return uhp;
    }

    public void setUhp(int uhp) {
        this.uhp = uhp;
    }

    public int getUmaxhp() {
        return umaxhp;
    }

    public void setUmaxhp(int umaxhp) {
        this.umaxhp = umaxhp;
    }

    public int getUgj() {
        return ugj;
    }

    public void setUgj(int ugj) {
        this.ugj = ugj;
    }

    public int getUfy() {
        return ufy;
    }

    public void setUfy(int ufy) {
        this.ufy = ufy;
    }

    public int getUbj() {
        return ubj;
    }

    public void setUbj(int ubj) {
        this.ubj = ubj;
    }

    public int getUxx() {
        return uxx;
    }

    public void setUxx(int uxx) {
        this.uxx = uxx;
    }

    public int getUwx() {
        return uwx;
    }

    public void setUwx(int uwx) {
        this.uwx = uwx;
    }

    public String  getUsex() { return usex; }

    public void setUsex(String usex) {
        this.usex = usex;
    }

    public int getVip() {
        return vip;
    }

    public void setVip(int vip) {
        this.vip = vip;
    }

    public int getNowmid() {
        return nowmid;
    }

    public void setNowmid(int nowmid) {
        this.nowmid = nowmid;
    }

    public String getEndtime() {
        return endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }

    public int getTool1() {
        return tool1;
    }

    public void setTool1(int tool1) { this.tool1 = tool1; }

    public int getTool2() {
        return tool2;
    }

    public void setTool2(int tool2) {
        this.tool2 = tool2;
    }

    public int getTool3() {
        return tool3;
    }

    public void setTool3(int tool3) {
        this.tool3 = tool3;
    }

    public int getTool4() {
        return tool4;
    }

    public void setTool4(int tool4) {
        this.tool4 = tool4;
    }

    public int getTool5() {
        return tool5;
    }

    public void setTool5(int tool5) {
        this.tool5 = tool5;
    }

    public int getTool6() {
        return tool6;
    }

    public void setTool6(int tool6) {
        this.tool6 = tool6;
    }

    public String getJingjie() {
        return jingjie;
    }

    public void setJingjie(String jingjie) {
        this.jingjie = jingjie;
    }

    public int getSfxl() {
        return sfxl;
    }

    public void setSfxl(int sfxl) {
        this.sfxl = sfxl;
    }

    public int getSfzx() {
        return sfzx;
    }

    public void setSfzx(int sfzx) {
        this.sfzx = sfzx;
    }

    public int getYp1() {
        return yp1;
    }

    public void setYp1(int yp1) {
        this.yp1 = yp1;
    }

    public int getYp2() {
        return yp2;
    }

    public void setYp2(int yp2) {
        this.yp2 = yp2;
    }

    public int getYp3() {
        return yp3;
    }

    public void setYp3(int yp3) {
        this.yp3 = yp3;
    }

    public int getCw() {
        return cw;
    }

    public void setCw(int cw) {
        this.cw = cw;
    }

    public int getJn1() {
        return jn1;
    }

    public void setJn1(int jn1) {
        this.jn1 = jn1;
    }

    public int getJn2() {
        return jn2;
    }

    public void setJn2(int jn2) {
        this.jn2 = jn2;
    }

    public int getJn3() {
        return jn3;
    }

    public void setJn3(int jn3) {
        this.jn3 = jn3;
    }

    public int getIspvp() {
        return ispvp;
    }

    public void setIspvp(int ispvp) {
        this.ispvp = ispvp;
    }

    public int getCengci() {
        return cengci;
    }

    public void setCengci(int cengci) {
        this.cengci = cengci;
    }

    @Override
    public String toString() {
        return "{" +
                "\"uname\":\'" + uname + "\'" +
                ", \"uid\":\'" + uid + "\'" +
                ", \"sid\":\'" + sid + "\'" +
                ", \"ulv\":" + ulv +
                ", \"uyxb\":" + uyxb +
                ", \"uczb\":" + uczb +
                ", \"uexp\":" + uexp +
                ", \"umaxexp\":" + umaxexp +
                ", \"uhp\":" + uhp +
                ", \"umaxhp\":" + umaxhp +
                ", \"ugj\":" + ugj +
                ", \"ufy\":" + ufy +
                ", \"ubj\":" + ubj +
                ", \"uxx\":" + uxx +
                ", \"uwx\":" + uwx +
                ", \"usex\":\'" + usex + "\'" +
                ", \"vip\":" + vip +
                ", \"nowmid\":" + nowmid +
                ", \"endtime\":\'" + endtime + "\'" +
                ", \"tool1\":" + tool1 +
                ", \"tool2\":" + tool2 +
                ", \"tool3\":" + tool3 +
                ", \"tool4\":" + tool4 +
                ", \"tool5\":" + tool5 +
                ", \"tool6\":" + tool6 +
                ", \"jingjie\":\'" + jingjie + "\'" +
                ", \"sfxl\":" + sfxl +
                ", \"sfzx\":" + sfzx +
                ", \"yp1\":" + yp1 +
                ", \"yp2\":" + yp2 +
                ", \"yp3\":" + yp3 +
                ", \"cw\":" + cw +
                ", \"jn1\":" + jn1 +
                ", \"jn2\":" + jn2 +
                ", \"jn3\":" + jn3 +
                ", \"ispvp\":" + ispvp +
                ", \"cengci\":" + cengci +
                '}';
    }
}
